<?php

/**
 * TagsXVideosAnimacion form base class.
 *
 * @package    form
 * @subpackage tags_x_videos_animacion
 * @version    SVN: $Id: sfPropelFormGeneratedTemplate.php 8807 2008-05-06 14:12:28Z fabien $
 */
class BaseTagsXVideosAnimacionForm extends BaseFormPropel
{
  public function setup()
  {
    $this->setWidgets(array(
      'id'      => new sfWidgetFormInputHidden(),
      'idtag'   => new sfWidgetFormInput(),
      'idvideo' => new sfWidgetFormInput(),
    ));

    $this->setValidators(array(
      'id'      => new sfValidatorPropelChoice(array('model' => 'TagsXVideosAnimacion', 'column' => 'id', 'required' => false)),
      'idtag'   => new sfValidatorInteger(),
      'idvideo' => new sfValidatorInteger(),
    ));

    $this->widgetSchema->setNameFormat('tags_x_videos_animacion[%s]');

    $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);

    parent::setup();
  }

  public function getModelName()
  {
    return 'TagsXVideosAnimacion';
  }


}
